Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: logical render error in agenda component #459

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

SahilDahekar
Copy link
Contributor

Description

photo_6165458212795565896_x

  • Logical render issue was due to talk.session being used as a key to render div. This resulted in the react not being able to identify which div in agenda to rerender and ultimately rendering the break divs again.
  • Changing the key to talk.time which is unique to each break as well solved the issue.

Related issue(s)

Fixes #456

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Copy link

netlify bot commented Nov 11, 2024

Deploy Preview for peaceful-ramanujan-288045 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1290bce
🔍 Latest deploy log https://app.netlify.com/sites/peaceful-ramanujan-288045/deploys/6746da891afb810008a3a844
😎 Deploy Preview https://deploy-preview-459--peaceful-ramanujan-288045.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SahilDahekar SahilDahekar changed the title Logical Render error in agenda component fix: logical render error in agenda component Nov 11, 2024
Copy link
Member

@AceTheCreator AceTheCreator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the fix @SahilDahekar

@AceTheCreator
Copy link
Member

cc @ashmit-coder your approval is needed

Copy link
Collaborator

@ashmit-coder ashmit-coder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! merging

@ashmit-coder ashmit-coder merged commit e244ad9 into asyncapi:master Nov 27, 2024
13 checks passed
@SahilDahekar SahilDahekar deleted the sahil branch November 27, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Logical render error in agenda component
3 participants